function [X Y obj_present] = position(vert_hist, hor_hist)
    %%%%SIMI%%%%%
     %a labda kozepenek x,y koord. obj_present=false ha nincs jelent targy
 [M1 X] = max(hor_hist);
 m1 = min(hor_hist);
 [M2 Y] = max(vert_hist);
 m2= min(hor_hist);
 
 obj_present = (M1-m1>20 && M2-m2>20);